//
//  SZTTabbar.h
//  OC-微博
//
//  Created by z先生 on 17/2/7.
//  Copyright © 2017年 SZT. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SZTTabbar;

@protocol SZTTabBarDelegate <NSObject>

@optional

-(void)tabBar:(SZTTabbar *)tabBar didSelectedButtonFrom:(int)from to:(int)to;


@end

@interface SZTTabbar : UIView

@property(nonatomic,weak)id<SZTTabBarDelegate>delegate;

-(void)addTabbarButtonWithItem:(UITabBarItem *)item;

@end
